/*
**  File name:          $Workfile: names.h $
**  Last modified:      $Modtime: 5/31/01 2:01p $
**  Last modified by:   $Author: Jack $
**
**  VCS archive path:   $Archive: /PQDIF/Document/Version15/GenerateCode/names.h $
**  VCS revision:       $Revision: 5 $ 
*/

#ifndef __NAMES_H__
#define __NAMES_H__

#include "pqdif_ph.h"
#include "pqdif_lg.h"
#include "pqdif_id.h"
#include "invalid_value.h"

extern void InitNames( void );
extern int  GetTagCount( void );
extern char * GetTagInfo( int index, GUID& tag );
extern char * GetNameOfTag( const GUID& tag );
extern char * GetNameOfElementType( INT4 type );
extern char * GetNameOfPhysType( INT4 type );
extern long GetNumBytesOfType(long idType);
extern SIZE4 padSizeTo4Bytes( SIZE4 sizeOrig );

extern int GetIntegerIDCount( void );
extern char * GetIntegerIDInfo( int index, int& value );
extern char * GetIntegerIDInfo2( int index, int& value, GUID& tag );
extern char * GetIntegerIDOwner( int index );
extern char * GetIntegerIDInfoFromTag( const GUID& tag, INT4 valueID );
extern char * GetNameOfUINT4( const UINT& uint );
extern TIMESTAMPPQDIF St2TsPQDIF( const SYSTEMTIME *Stm );

#endif//__NAMES_H__